//
//  SendDynamicViewController.h
//  ChatDemo-UI2.0
//
//  Created by syun on 16/10/27.
//  Copyright © 2016年 syun. All rights reserved.
//

#import "SYBaseViewController.h"
#import "AssignHomeWorkViewController.h"

@protocol DynamicViewDelegate <NSObject>

//当发动态的时候，返回上一层控制器并刷新页面
-(void)reloadTableViewData;

@end
@interface SendDynamicViewController : SYBaseViewController
{
    //控件
    
    UIScrollView *_BackScrollView;
    //选择班级
    UILabel *ClassMarkLabel;
    UITextField *ClassText;
    UIImageView *arrowImage;
    UIView *arrowView;
    
    //编辑内容
    UILabel *ContentmarkLabel;
    UITextView *ContentTextView;
    
    //选择班级ann
    UIButton *selectClassBtn;
    //添加图和字数提示
    UIView *backView;
    UIView *addPicView;
    UIImageView *PhotoPic;
    UILabel *MarkLabel;
    UIButton *addPic;
    UILabel *WordCountLabel;
    
    //图片
    UIView *picsBackView;
    UIButton *_takePictureBtn;
    
    
    UIControl *classControl;
    
    BOOL selectFlag;//是否选中
    NSMutableArray *selcetArray;
    NSMutableArray *selcetClassidArray;
    //NSArray *listArray;
    UITableView *classTable;
    
    NSMutableArray * imageIdArray;
    int classCount;
    UIButton *chooseClass;
    
    NSDictionary * userdict;
    NSString * type;
    
}
@property(nonatomic,assign) id<DynamicViewDelegate> delegate;

@property(nonatomic,assign) id<yunDouAlertDelegate> yddelegate;
@end
